package edu.umn.actvs;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

public class ListEventActivity extends Activity{

	Button listEvent;
	EditText locationRadius;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.browseevent);
		locationRadius = (EditText)findViewById(R.id.loc_query);
		String radius = String.valueOf(locationRadius.getText());
		
		listEvent = (Button)findViewById(R.id.list_event);		
		listEvent.setOnClickListener(new View.OnClickListener(){
			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				Intent intent = new Intent(ListEventActivity.this, ShowEventActivity.class);
				startActivity(intent);
			}});
		
	}

}
